package com.fortune.rainshinesystem.service;

import com.fortune.rainshinesystem.config.FeignConfig;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

@FeignClient(value = "rain-shine-common",configuration = FeignConfig.class)
public interface SmsFeign {
    @GetMapping("/smsSend/sendSms/{phone}/{params}")
    Boolean sendSms(@PathVariable(name = "phone") String phone, @PathVariable(name = "params") String params);
}
